package com.funny.mid;

import java.sql.Connection;
import java.util.Map;

/**
 * @author fanxiao  2021/8/20
 * @since 1.0.0
 */
public class Configuration {

	protected Connection connection;

	protected Map<String, String> dataSource;

	protected Map<String, XNode> mapperElement;

	public void setConnection(Connection connection) {
		this.connection = connection;
	}

	public void setDataSource(Map<String, String> dataSource) {
		this.dataSource = dataSource;
	}

	public void setMapperElement(Map<String, XNode> mapperElement) {
		this.mapperElement = mapperElement;
	}

	public Connection getConnection() {
		return connection;
	}

	public Map<String, String> getDataSource() {
		return dataSource;
	}

	public Map<String, XNode> getMapperElement() {
		return mapperElement;
	}
}
